﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DbGenerator.Model.units.constraint.root;
using DbGenerator.Model.units.column;
using DbGenerator.Utilities;
using DbGenerator.Model.attributes.types;

namespace DbGenerator.Model.units.constraint.types
{
    //ALTER TABLE [dbo].[Table_1]  WITH CHECK ADD  CONSTRAINT [CK_Table_1] CHECK  (([yas]>(10)))
    public class TCKConstraint : TConstraintBase<TCKAttribute>
    {
        #region ctors
        public TCKConstraint(TCKAttribute ckAttribute)
            : base(ckAttribute)
        {
            _Expression = ckAttribute.Expression;
        }
        #endregion

        #region properties
        private object _Expression;
        public object Expression
        {
            get { return _Expression; }
            //set { _Expression = value; }
        }
        #endregion
    }
}
